package com.game.server.system;

import lombok.Data;


@Data
public abstract class AbstractPlayer {

    protected int userId;
    protected AbstractClient client;
   
    public AbstractPlayer(AbstractClient client) {
        this.userId = client.getUserId();
        this.client = client;
	}
    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }
    public AbstractClient getClient()
    {
    	return client;
    }
    public void setClient(AbstractClient client)
    {
    	this.client = client;
    }
}
